package com.zzb.text.dao;

import com.zzb.text.entity.Menu;
import com.zzb.text.entity.Params;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * Created by ZZB on 2017/6/16.
 */
@Mapper
public interface MenuMapper {
    List<Menu> findAll();

    Menu getOne(@Param(value = "id") String id);

    void insert(Menu params);

    void update(Menu params);

    void delete(String id);

}
